<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
    row1.style.textAlign = "left";
}

</script>
</head>
<body onload="boom();">

    <table>
        <tbody>
            <tr id="row1"></tr>
            <tr>
                <td style="position: sticky;"></td>
            </tr>
        </tbody>
    </table>

</body>
</html>
